home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 September
/
CHIP Eylül 1998.iso
/
Slackwar
/
contrib
/
INSTALL
< prev
next >
Wrap
Text File
|
1997-03-30
|
2KB
|
49 lines
To install packages in this directory (*), use the Slackware package tools.
Packages may be installed from the command line using the "installpkg" command:
# installpkg somepackage.tgz
* there is one exception in this directory -- slirp-1.0c.tar.gz
(a SLIP/CSLIP/PPP emulator) is provided as a source code package.
Don't try to use installpkg or pkgtool to install slirp-1.0c.tar.gz.
NOTE: Some packages should only be installed in single-user mode. This is
especially true of packages that contain daemons, like the networking package
tcpip.tgz, or the print spooler package bsdlpr.tgz. To switch to single user
mode, use this command:
# telinit 1
To switch back to the normal runlevel after installing your new package(s),
use this command:
# telinit 3
Packages may also be installed using the menu-based package installation and
removal tool "pkgtool". Run pkgtool in the directory with the packages and
follow the on screen prompts.
Removing packages
-----------------
The Slackware package management tools provide a way to remove installed
packages easily and safely. (well, obviously if you remove the wrong package
it can be harmful to your machine's health :^)
To remove a package, switch into the directory containing the package database:
# cd /var/log/packages
In this directory, you'll find a text file for each package. You can look at
the files with "less" to see information about what each package does and
which files it contains. If you want to remove a package, use the "removepkg"
command in the package database directory:
# removepkg somepackage
You'll see quite a bit of output on the screen telling you exactly which files
and directories are removed, which you may wish to redirect to a file for later
inspection.